#pragma once

#include "Animation.h"
#include "Frame.h"

class AnimationTimeStamp
{
public:
	AnimationTimeStamp();
	virtual ~AnimationTimeStamp();

	//Accessors
	string GetCurrAnimation() const { return currAnimation; }
	int GetCurrFrame() const { return currFrame; }
	float GetTimeOnFrame() const { return timeOnFrame; }
	int GetFacing() const { return facing; }
	bool GetFlashOn() const { return flashOn; }

	//Mutators
	void SetCurrAnimation(string x) 
	{
		currAnimation = x; 
	}
	void SetCurrFrame(int x) { currFrame = x; }
	void SetTimeOnFrame(float x) { timeOnFrame = x; }
	void SetFacing(int x) { facing = x; }
	void SetFlashOn(bool x) { flashOn = x; }

private:
	string currAnimation;
	int currFrame = 0;
	float timeOnFrame = 0;
	int facing = 1;
	bool flashOn = false;
};

